package com.umeox.watch.moto.pedometer.data;

import android.content.Context;

import com.umeox.watch.moto.pedometer.base.QuranChallenge;
import com.umeox.watch.moto.pedometer.base.TodayChallenge;

import java.util.concurrent.CopyOnWriteArrayList;

public interface PedometerContract {

    interface Presenter {

        void start();

        void stop(Context context);

        void onStepCountChange(int stepCounts);

        void getStepInfo();

        void uploadSteps(int todayStepCount);

        void saveSteps();

        void onCreate();

        void onDestroy();
    }

    interface View {

        void onStepCountChange(int stepCounts);

        void onStepInfoChange(int stepTarget);

        void onHolderInfoChange();

        void onDistanceUnitChange();

        void onSportChallengeChange(CopyOnWriteArrayList<TodayChallenge> todayChallenges);

        void onQuranChallengeChange(CopyOnWriteArrayList<QuranChallenge> quranChallenges);


    }

}
